package com.funo.logic.model.logicflow;

import com.funo.logic.model.IdEntity;

/**
 * 节点连接线
 * @since 2024年7月23日15:13:23
 * @author cms
 */
public class FlowEdge extends IdEntity {
    private static final long serialVersionUID = -5671880928368328808L;

    /**
     * 类型
     */
    private String type;
    /**
     * 源头节点id
     */
    private String sourceNodeId;
    /**
     * 终点节点id
     */
    private String targetNodeId;
    /**
     * 节点属性
     */
    private NodeProperties properties;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSourceNodeId() {
        return sourceNodeId;
    }

    public void setSourceNodeId(String sourceNodeId) {
        this.sourceNodeId = sourceNodeId;
    }

    public String getTargetNodeId() {
        return targetNodeId;
    }

    public void setTargetNodeId(String targetNodeId) {
        this.targetNodeId = targetNodeId;
    }

    public NodeProperties getProperties() {
        return properties;
    }

    public void setProperties(NodeProperties properties) {
        this.properties = properties;
    }
}
